package com.xuning.emperor.domain.vo;

import com.xuning.emperor.base.BaseVO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.annotations.Insert;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.time.LocalDate;

/**
 * @author wangqx
 * @description TODO
 * @date 2022/6/16
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ProductVO extends BaseVO {

    @Length(max = 100, message = "商品名称太长，不能超过100个字符")
    private String goodsName;


    private Double price;

    /**
     * 品牌
     */
    private String brand;

    private String categoryPath;

    private String goodsUnit;


    @Length(max = 60, message = "商品卖点太长，不能超过60个字符")
    private String sellingPoint;

    private String marketEnable;

    private String intro;

    private Integer buyCount;

    private Integer quantity;

    private Double grade;

    private String thumbnail;

    private String small;

    private String original;

    private String storeCategoryPath;

    private Integer commentNum;


    private String storeName;


    private String goodsVideo;




    private String goodsType;

    private String params;
}
